import request from '@/utils/request'

export function getHistory(data) {
  return request({
    url:'/report',
    params:data,
    method:'get'
  })
}

export function orderHistory(params) {
  return request({
    url:'/gym/order/admin',
    params,
    method:'get'
  })
}


export function ensureOrder(data) {
  return request({
    url:'/gym/order/admin/finish',
    data,
    method:'post'
  })
}